package test;

public class HasStatice {
    private static int x = 100;
    public static void main(String[] args) {
        HasStatice hs1 = new HasStatice();
        hs1.x++;
        HasStatice hs2 = new HasStatice();
        hs2.x++;
        hs1 = new HasStatice();
        hs1.x++;
        HasStatice.x--;
        System.out.println("x = " + x);
    }
}
